<?php foreach($Class as $C): ?>
<div id="IndexEcategoryTitle">{$C.name}</div>
<?php endforeach; ?>